<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>添加类型属性</title>
<link rel="stylesheet" type="text/css" href="http://localhost/0423/suning/Application/Admin/View/Public/css/admin_style.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/0423/suning/Application/Admin/View/Public/css/table.css" />
   
</head>
<body>
<body class="right_body">
    <div class="body">
        <div class="top_subnav">CMS内容管理平台 ＞ 添加类型属性</div>


        <div style="clear:both"></div>
        <div class="use_meth">
            <div class="title">
                <div class="title_info light">
                    添加类型属性
                </div>
            </div>
<div class="wrap">
  
    <form action="" method="post" class="form-inline hd-form">
        <table class="hd-table hd-table-list">

            <tr>
                <th class="w100">属性名</th>
                <td>
                    <input type="text" value="<?php echo $typeAttr['attr_name'];?>" name="attr_name" />
                </td>
                <td> </td>
            </tr>    

            <tr>
                <th class="w100">属性类别</th>
                <td>
                <input type="radio" name="attr_class" value="0"     <?php if($typeAttr['attr_class'] ==0){ ?> checked = "checked" <?php } ?> />属性<input type="radio" name="attr_class" value="1"     <?php if($typeAttr['attr_class'] ==1){ ?> checked = "checked" <?php } ?> />规格
                </td>
                <td>  </td>
            </tr>    
            <tr>
                <th class="w100">属性值</th>
                <td>
                     <textarea name="attr_value" style="width:280px;" cols="20" rows="8"><?php echo $typeAttr['attr_value'];?></textarea>
                </td>
                <td> 属性值 多个请用“|”分割开 </td>
            </tr>
        
             
        </table>
        <div class="position-bottom">
            <input type="hidden" name="type_tid" value="<?php echo $typeAttr['type_tid'];?>" />
            <input type="submit" class="hd-btn hd-btn-success" value="添加"/>
        </div>
    </form>
</div>
        </div>
    
    </div>




</body>
</html>
